package com.itheima.abstracttest;

public class Test {
    public static void main(String[] args) {


        Dog dog= new Dog();
        dog.drink();
        dog.eat();
        Cat cat= new Cat();
        cat.drink();
        cat.eat();
        Pepey p= new Pepey();
        p.drink();
        p.eat();
        p.sing();
    }
}
